import {Notification} from 'element-ui'

function success() {
    Notification.success({
        title: '发布成功',
        showClose: false,
        duration: 1000
    })
}

function fail() { 
    Notification.error({
        title: '发布失败',
        showClose: false,
        duration: 1000
    })
 }

 function login_fail() { 
    Notification.error({
        title: '登录失败，请重试',
        showClose: false,
        duration: 1000
    })
 }

 function login_success() { 
    Notification.success({
        title: '登录成功',
        showClose: false,
        duration: 1000
    })
 }

 function verify_fail() { 
    Notification.error({
        title: '身份验证失败，请登录',
        showClose: false,
        duration: 1000
    })
 }



export {
    success, fail,  login_fail, verify_fail, login_success
}